package day1119;

public class Demo11 {
    public static void main(String[] args) {
        for(int ji=0; ji<=47;  ji++   ){//鸡的数量
            for(int tu=0; tu<=23;  tu++){//兔的数量
                if( ji + tu ==35 &&  (ji*2 + tu*4) ==94 ){
                    System.out.println(ji +"," +tu);
                }
            }
        }
    }
}

